:root {
  --primary-color: #1890ff;
  --secondary-color: #722ed1;
  --background-color: #f0f2f5;
  --border-color: #e8e8e8;
  --success-color: #52c41a;
  --warning-color: #faad14;
  --error-color: #f5222d;
  --text-primary: rgba(0, 0, 0, 0.85);
  --text-secondary: rgba(0, 0, 0, 0.65);
  --text-disabled: rgba(0, 0, 0, 0.25);
  --border-radius: 6px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
}
.page-title {
  font-size: 24px;
  font-weight: 600;
  /* margin-bottom: 28px; */
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
}

.app-header {
  background: linear-gradient(to right, var(--primary-color), #40a9ff);
  color: white;
  padding: 0 28px;
  line-height: 68px;
  box-shadow: var(--box-shadow);
}

.logo {
  display: flex;
  align-items: center;
  height: 68px;
}

.logo-title {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-left: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.app-content {
  min-height: calc(100vh - 68px - 54px);
  padding: 28px;
}

.app-footer {
  text-align: center;
  padding: 18px 50px;
  color: var(--text-secondary);
  background: white;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
}

.table-operations {
  margin-bottom: 20px;
}

.table-operations > * {
  margin-right: 12px;
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.incomplete-data {
  color: var(--warning-color);
}

.required-field:after {
  content: "*";
  color: var(--error-color);
  margin-left: 4px;
}

.action-button {
  margin-right: 12px;
}

/* 美化card样式 */
.ant-card {
  border-radius: var(--border-radius);
  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
}
